fixed platform polyfill hack