fixed can_write test about delete