Fix catch exception.