fix multi-shell error

Signed-off-by: coldnew <coldnew.tw@gmail.com>