cleans up some things