Revert history modification
Code improvement