I am sorry that I did not really fully understood what was your problem.
But I am glad to hear that the problem seems to be solved!