if statement fix