Fixed white space after if statement