cleanup wf_core