fixed small bug with the drawing of highlight