Fixed indentation issue on startHistory.