Fixing syntax error for bash