white space at the end of your if clause