fixed bug on insert many