Fix the clear flag.