cleaning the vector directory