delete useless directory.