fixing the firefox issue with attachments download