update for IE8 compatibility