Remove port change code