Hi, and welcome!
Could you post a reproducible example, called a reprex, please. It makes it much easier to diagnose.