fix mbtiles
add log