remove data before insert