Fixed static-defined port error