make bulk inserting actually work