fix polyfill usage