Can you please post a simplified MCVE that shows what you’re trying to do?
Also you might check out these tips on asking questions: