It would be easier if you provided a minimal example reproducing the problem.