fixing a piece of crap