Fixed error in IE8