add checks for tileset firstgid