clean up swp