Please see Read before posting: How do I get my question answered?
It’s difficult to help you debug without a MWE.