adjusted comments in addAttachment