fixed highlighter in local mode