bugfix for if statements
0.3.2