fixing the typo in my if statement - pfff