Fix to have consistent code style

* Change 'if(' to 'if ('