shell script fix