bugfixes, added taxonomies to attachments