[IMP]improved try catch