fixes for polyfill and safari