Fixed issue in response class