Putting a semicolon after your if statement is a rather stupid thing to do in this case.