Correct typing and logical errors about responseFrom field in response.