fix agenda stuff