remove data only if present