[inline] fix an issue that the optimizer removed necessary exprs
[inline] fix setup arguments