I tried this solution and it works properly. What can be the problem?