remove directory name