Fix whitespace and if

No guarantee that it works as expected, but at least it should be parseable now ;)