clean up cd shell command