Revert port hack