fixed headrule, added glossaries