bug fix for IE8