fixed method convertResponse