mark resolve polyfill