fix problem when deleting issues.