fix some type, and finish bpmn
1~141