PrepareResponse and clean