fixed up history fragment