fixes in tilemaploader