fixed IE8 compatiblity