Hello @dani_m,
Welcome to the community!
Could you please provide an MRE:
This will help us see what exactly is going on.