Fix port entry