Fixed undefined toolbarItems