fix definition of global_process_dubl