Fix logs/history