reduce response malloc