Very good idea. I write a minimal code and it worked fine. And then I looked my main code confidently and I noticed problem's source. Maybe. Actually I dont understand exactly why it did not work but I make little changes then it worked.
Thanks for everyone's attention.