fix record is_delete bug