fit bugs for lc_gen, pass test