correcting flags