Fix analyse_history
Simplify LANGC