Merge pull request #2 from LotharKAtt/master

fix if syntax