fix responses for returning text