bug fix at bash source gen