looks like sometimes response.messages is nil when no messages found