Adding attachments bug repaired