fix typo in set_value