remove extraneous conditional condition