# Form slot filling bug

**URL:** <https://forum.rasa.com/t/form-slot-filling-bug/33357>\
**Category:** Rasa Open Source\
**Created:** [September 3, 2020, 5:38pm UTC](https://forum.rasa.com/t/form-slot-filling-bug/33357 "2020-09-03T17:38:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![argideritzalpea](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/argideritzalpea/32/7528_2.png) [@argideritzalpea](https://forum.rasa.com/u/argideritzalpea)\
**Post date:** [September 3, 2020, 5:38pm UTC](https://forum.rasa.com/t/form-slot-filling-bug/33357/1 "2020-09-03T17:38:41Z")

</div>

I have the following slot mappings for my custom FormAction:

```auto
                "peopleCount": [self.from_entity(entity="number", intent="inform_peopleCount"),
                                self.from_entity(entity="number_people", intent="inform_peopleCount")
                                ],
                "childCount": [self.from_entity(entity="number", intent="inform_peopleCount"),
                                self.from_entity(entity="number_child", intent="inform_peopleCount")
                                ],
                "age": [self.from_entity(entity="age", intent="inform_peopleCount")
                                ],
                "dogCount": [self.from_entity(entity="number", intent="inform_peopleCount"),
                                self.from_entity(entity="number_dog", intent="inform_peopleCount")
                                ],

```

When my form predict the inform\_peopleCount intent, I want it to be able to fill multiple DIFFERENT slots. However, with this mapping, when my form finds number\_child / number\_dog entities, my bot is filling the peopleCount slot with all types of entities instead of filling them into different slots. This seems like a bug in Rasa:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/2/29f5348ada556202e0fd0552d92ac8bda7cf01a8.png) ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/d/da527548f850c221c57f4851c5bfabe539ef94a2.png)

Any advice on why this is happening would be much appreciated.

---

<div class="post-metadata">

**Author:** ![a-anand-91119](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/a-anand-91119/32/10664_2.png) [@a-anand-91119](https://forum.rasa.com/u/a-anand-91119)\
**Post date:** [September 4, 2020, 5:54am UTC](https://forum.rasa.com/t/form-slot-filling-bug/33357/2 "2020-09-04T05:54:06Z")

</div>

@argideritzalpea

I believe removing the “ **number** ” entity mapping will solve your problem.

After filling the requested slot, Rasa Forms will attempt to fill the **OTHER SLOTS**. In your case the number entity has its value updated and hence your slots gets updated.

See the `extract_other_slots` method in forms.py.

If removing the number entity didn’t solve your issue, do let me know, You can make some changes to your FormAction Child class to prevent overwriting of slots.
