caught the generate after cleared exception