deal with empty response