delete stuff that isn't needed