fixed error with NextTiles