attachments bug resolved