removes full path to cd as this has no effect