removes a bunch of crap