removed dangling "if"
Merge pull request #261 from martinschaef/patch-5

removed dangling "if"