bpel edits and tidy up reg