walker: fix index path string cast