sieve flags fixes