Fix syntax error and return full response data