fix empty response object