add some minor fixes for IE8