remove unneeded slice polyfill