Fix error in shell script