fixed the issue of nonadmins viewing only half buttons in the sidebars