Corrected getValue procedure.