fix some complaints by Hound
rename AttachmentPwd -> ATTACHMENT_PWD