fixup the uri in the command line