revert port config