Your comments

It worked, thanks for all your help

The solution worked for the chain, I was working on. But I tried to make another chain and I had the same problem. I have send you the project again.