fix IE8 compatibility