port error fixed