Fix port communication