changed how attachments handle to_s