remove a bunch of unnecessary stuff