Correct warning flags