fix the tile loading issue