Changed the variable in the if command.