fixing bug when modifying workflow
fixing bug when copying job