Fix syntax error and silence curl