# Bug in sequential utterances which has buttons

**URL:** <https://forum.rasa.com/t/bug-in-sequential-utterances-which-has-buttons/36814>\
**Category:** Rasa Open Source\
**Created:** [November 9, 2020, 11:18am UTC](https://forum.rasa.com/t/bug-in-sequential-utterances-which-has-buttons/36814 "2020-11-09T11:18:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akhil](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Akhil](https://forum.rasa.com/u/Akhil)\
**Post date:** [November 9, 2020, 11:18am UTC](https://forum.rasa.com/t/bug-in-sequential-utterances-which-has-buttons/36814/1 "2020-11-09T11:18:06Z")

</div>

Hi, I am trying for the following conversation.

user: I want to know more.  
Bot: For more details, click the following button  
 **More details**  
Alternatively, you could choose one of the following options too.  
**Something else** [Button-1]  
**Restart** [Button-2]

```auto
## chat
* more_details
  - utter_more_details
  - utter_other_options  

```

```auto
utter_more_details:
- text: "For more details, click the following button."
  buttons:
    - title: "More Details"
      payload: "/intent_moredetails"

utter_other_options: 
- text: "Alternatively, you could choose one of the following options too."
  buttons:
    - title: "Something else"
      payload: "/intent_somethingelse"
    - title: "Restart"
      payload: "/intent_restart

```

I tried this using these UIs - [chatbot-widget](https://github.com/JiteshGaikwad/Chatbot-Widget), [rasa-webchat](https://github.com/botfront/rasa-webchat) and [chatroom](https://github.com/scalableminds/chatroom)

But, the utterances in the UI are not displaying in order. Instead, both the statements are displaying first. Then all 3 buttons.

@JiteshGaikwad. Could you help me with this? Thank you.

I even tried in `rasa-shell`, but only the second utterance is being displayed.

---

<div class="post-metadata">

**Author:** ![mloubser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mloubser/32/13021_2.png) [@mloubser](https://forum.rasa.com/u/mloubser)\
**Post date:** [November 12, 2020, 3:38pm UTC](https://forum.rasa.com/t/bug-in-sequential-utterances-which-has-buttons/36814/2 "2020-11-12T15:38:29Z")

</div>

I can sort of reproduce this on Rasa 2.0, I see button - both sentences - rest of buttons:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/f/fd01b6f02869d7db533948ee1f2c0f3012c61723.png)

Could you open an issue on github for this?

---

<div class="post-metadata">

**Author:** ![Akhil](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Akhil](https://forum.rasa.com/u/Akhil)\
**Post date:** [November 13, 2020, 11:48am UTC](https://forum.rasa.com/t/bug-in-sequential-utterances-which-has-buttons/36814/3 "2020-11-13T11:48:27Z")

</div>

Hi @mloubser, yeah I check with rasa 2.0 and its working as expected. But, in Rasa 1.10.15 and 1.10.17, the first statement and associated button is not being displayed in the shell when running with `rasa shell --debug`

---

<div class="post-metadata">

**Author:** ![mloubser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mloubser/32/13021_2.png) [@mloubser](https://forum.rasa.com/u/mloubser)\
**Post date:** [November 16, 2020, 1:23pm UTC](https://forum.rasa.com/t/bug-in-sequential-utterances-which-has-buttons/36814/4 "2020-11-16T13:23:46Z")

</div>

Right, you can open github issue to report this here: [https://github.com/RasaHQ/rasa/issues/new?assignees=&labels=area%3Arasa-oss+%3Aferris\_wheel%3A%2Ctype%3Abug+%3Abug%3A&template=bug\_report.md&title=](https://github.com/RasaHQ/rasa/issues/new?assignees=&labels=area%3Arasa-oss+%3Aferris_wheel%3A%2Ctype%3Abug+%3Abug%3A&template=bug_report.md&title=)
