fix insert into replace