add try catch and log erroir tp see where is failing