Fixed value conversion bug; now the correction should be fully accurate