fix delete & insert em problem