fix(highlight): fix bug when typing not affecting the model