now it is working properly