refactor: clear the previous highlight