if else not broken