fix the rest of the instances of ports