Corrected port errors