Fix history widget