fix the response value of resist api.