Fix for IE8 issue