for ddi plugin, fixed bug that triggers by single character highlight