duplicates: some config handling simplification
duplicates: only one type of deletion