Can you provide a minimal compilable example reproducing the problem?