fix for process_value