remove unnecessary new before ErrorResponse