minor fix on voltage reading