change response type to text from string