Fix if thanks @losedk