removed errors in shell script