delete sitesDir at the end