history widget fix