remove extraneous