fix nil pos bug in readerhighlight