some fixes to history
fixed some history issues