Improve set_variable_value function.