Change position of if bracket