fixed bug in polyfill module