fix for bug in IE9