fixed some history issues