change ports to strings