fix try catch exception type