shell call bug fix