removed improper else statement