cleaned the base directory