Fix History Callback Bug