clears up paths