fixed crucial port error