strip out superfluous crap