extra space after if statement