fix balanced logic if statements