fix inserts