Fix problem with fixed id when inserting