Fix port problem