fixed the template issue with response.