fixed shell vs command bug