Fix history directive