# Strange behavior

**URL:** <https://community.forestadmin.com/t/strange-behavior/6901>\
**Category:** Help me!\
**Created:** [December 7, 2023, 10:46am UTC](https://community.forestadmin.com/t/strange-behavior/6901 "2023-12-07T10:46:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dscreve](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dscreve](https://community.forestadmin.com/u/dscreve)\
**Post date:** [December 7, 2023, 10:46am UTC](https://community.forestadmin.com/t/strange-behavior/6901/1 "2023-12-07T10:46:31Z")

</div>

Hello,

I have 2 tables with given names : loan\_request\_status and loan\_request\_statuses…

Forest Agent generate the same display name for both tables…We have changed the display names, but a bug remains : loan\_request\_statuses display wrong datas : bad page count, empty fields, etc…

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/9/979e64faa04b5d7078a2e14fd8943f7d85652a04.png)

How can we fix this ?

Regards,

David

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [December 7, 2023, 10:58am UTC](https://community.forestadmin.com/t/strange-behavior/6901/2 "2023-12-07T10:58:37Z")

</div>

Hello @dscreve,

Ok, I have never seen something like this but indeed changing the display name won’t help in this case… It’s probably due to some internal singularize/pluralize issues. 👀

But I need more information to deep dive in.

- What is the name of your project?
- What agent (and version) are you using?
  - _If you do use `@forestadmin/agent` what data sources are you using?_

Kind regards,  
Morgan

---

<div class="post-metadata">

**Author:** ![dscreve](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dscreve](https://community.forestadmin.com/u/dscreve)\
**Post date:** [December 7, 2023, 1:45pm UTC](https://community.forestadmin.com/t/strange-behavior/6901/3 "2023-12-07T13:45:37Z")

</div>

Hello,

Project Name : PledgerMiddleV2  
Agent :  
“@forestadmin/agent”: “^1.35.17”,  
“@forestadmin/datasource-sequelize”: “^1.5.24”,  
“@forestadmin/datasource-sql”: “^1.7.39”,

We use Sequelize and SQL datasources.

Regards,

David

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [December 7, 2023, 1:53pm UTC](https://community.forestadmin.com/t/strange-behavior/6901/4 "2023-12-07T13:53:31Z")

</div>

In this case, you can override the collection name in the code side not in the frontend.

```javascript
.addDataSource(
  createSqlDataSource(process.env.DATABASE_URL),
  { rename: { oldName: 'newName'} },
)

```

You can find out more here: [Naming conflicts - Node.js Developer Guide](https://docs.forestadmin.com/developer-guide-agents-nodejs/data-sources/getting-started/naming-conflicts)

Let me know if it helps.

Kind regards,  
Morgan

---

<div class="post-metadata">

**Author:** ![dscreve](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dscreve](https://community.forestadmin.com/u/dscreve)\
**Post date:** [December 7, 2023, 4:19pm UTC](https://community.forestadmin.com/t/strange-behavior/6901/5 "2023-12-07T16:19:23Z")

</div>

Yes ! it works perfectly !

Thanks a lot !

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [December 7, 2023, 4:26pm UTC](https://community.forestadmin.com/t/strange-behavior/6901/6 "2023-12-07T16:26:32Z")

</div>

Superbe, glad to hear that. 🙏 Have a nice experience.

Kind regards,  
Morgan
