fix error in shell script