output issue with attachments must apply to rest