fix for Unkown Runtime Error in IE8