removing a duplicated directory