attachments paste fix