space after if

Please be consistent on use of curly braces for one line blocks. This is different from above.