[BUG #8110] workaround for IE8
[BUG #7873] fix for IE 8