clean up history settings