gc collect after re_generate