minor fixed shell script