tweaks to make glossary select work with api