fix swapview