made it work in IE8