fixes _swapView