Fixed syntax error with if statement