Fixed an error on insert on Linux.