fix get_value depreciated