fixed bug on voltmeter if value is less than zero