fixed shell script issue