Correcting the location of the condition