correct kill and rebuild the whole directory