Fixed the IE8 bug