filter sub event when delete an directory