Thanks,
I have found it. The error was on other place.
It works.