fixed double if which caused a compile error
0.0.7