IE 8 bug fix