clearing directory locations