Fixed bug: wrong object set on batch inserting