I'd have to see a minimal compilable example reproducing the problem.