fix on condtions

* fix error on conditional operators
* fix error on simple conditions with LF without then
* fix error on postfix if