bug: all variables was deleted after delete a history processinstance