fixing stuff to match recent mapbox.com changes.