fix bug in change_process