proc_cleanup() changed