A little cleanup
Fix : unable to see history when offline