fix the problem, now it works properly