Fix getTileset method