fix for polyfill