Fix port value type