fixing an issue with authors being added to the wrong element
update based on feedback from @take-cheeze