bug fixes

fixed bug relating to google maps not always returning three routes.