Fixed typo in swapinterface.