fixed bug in line highlighting on the map