remove un-used "else" branch