Fixed error with drawRoute method