fixed tile number bug