fixed bug when syntax highlighter is disabled