remove extra else statement