moving data bug

insert -> replace