cleans up some stuff