Cleans up some leftovers