fix(shell/lean.cpp): use temp ios
fix(shell/lean.cpp): use temp ios