bugfix: old save_attachments reference