handle port with no #
env changes.