switch the ports