change order of cleaning function