delete redundant directory