walker: fix attribute path string cast