add select on wf_type