remove change of directory