fix doc delete