fix highlight pagination issue