Welcome to the forum.
I don't think we have enough information at the moment. We need a reproducible example (reprex)