history works. Small bug remains