corrected shell script error