clean categories in order