remove extraneous crap