response class : delete useless condition