add more try catches to sensitive areas