Fix agenda builder callback