else statement fix