repair path fixup functionality when using SD polyfill