some IE8 bug fixes