fix generation fail due to too many transactions