Fix exception catch issue in util