work around a stupid IE8 bug