set port to old value