remove pwd from commandline