(MAC) Fix errors on port connections.