dynamic_proc : remove some old code