add try-except for debug