fix bug on insertMulti