add one missing try catch block