swp cleanup