fix swp