cli: adjustments to the data cleaning function