change detail responser from httpresponse to render