fixed bug for spark workflow