Pathname hybrid PR #857 fixed 2 examples