remove debug login plug
fix filenames for ndf attachments