fix for hidden attribute polyfill