Fix issue when response contains existing class

If the response has