Fix invalid port