remove extraneous else clause