removed call-time pass-by-reference after getting deprecation error post mbtiles upload