fixed range highlight bug