fixing an issue with the tile walker class