fix for #909
Merge pull request #916 from mapbox/fix-layer-names

fix #909