bug fix at bash
fix assert