another fix for if statement