fixed issue with agenda tab