user history routine cleanup.