fixed toggle on history page