fixed some issues with the history view