fix error in LiveValueHistory when rendering bad math