The same answer for 2 different questions

Hi guys , I’m having problems in my chatbot… when I ask 2 different questions where the answer “yes” fit the both , in the second answer the bot don’t understand the answer . Example : 1-Did you received the bill ? Response :yes 2- do you have some doubt? Response: yes (in this moment the bot ask to repeat the answer because he is not understanding the second “yes”. Someone knows how to solve that ? Thanks