standardize port numbers