fix numerics for IE8