deal with empty responses