inline attachments bugfix