An improvement of Selberg's sieve method I