correct an error when add syntax hightlighting