fixed issue of tiles id