response cleanup