remove extraneous condition