properly fixed flags

tiredness leads to mistakes...