deleting unnecessary directory target