There should be a space between the if and the bracket.