delete document fixed