fixed syntax error of shell script