fix shell interface