fix mouse bug on comparison completion