Fix an IndexOutOfRange exception.
Fix an highlight bug where we have ? in the content and the content has length bigger then 128