# Slots are initializing twice with same values while using Form Action? What to do

**URL:** <https://forum.rasa.com/t/slots-are-initializing-twice-with-same-values-while-using-form-action-what-to-do/33078>\
**Category:** Rasa Open Source\
**Created:** [August 27, 2020, 10:13am UTC](https://forum.rasa.com/t/slots-are-initializing-twice-with-same-values-while-using-form-action-what-to-do/33078 "2020-08-27T10:13:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pranavinu](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/pranavinu/32/5247_2.png) [@pranavinu](https://forum.rasa.com/u/pranavinu)\
**Post date:** [August 28, 2020, 8:00am UTC](https://forum.rasa.com/t/slots-are-initializing-twice-with-same-values-while-using-form-action-what-to-do/33078/2 "2020-08-28T08:00:02Z")

</div>

Hi Rashmi, Are you using entities to extract the slots? If yes does that entity’s name and the slot name is same? If yes, then Rasa automatically fill the slot with the entity value extracted. For example, let’s suppose we define Passcode as an entity and Passcode as slot in domain, “Passcode is 123421” in NLU. Now 123421 is extracted as Passcode entity and automatcally stores into Passcode(slot). We do not have to initialize again in form action. If you want to initialize it with form action, then try to change the name of the slot you have defined in your domain file.

---

_[View the full topic](https://forum.rasa.com/t/slots-are-initializing-twice-with-same-values-while-using-form-action-what-to-do/33078)._
