deleting duplicated directory