fixed compatibility with IE8