fixed issue with ports
fixed issue with ports