Attachments name in Mime mail not correct

I am creating af mime mail in which I attach some files.

Before mailing I show in edit mode

By some reason the attached files loose their correct name is replaced with some that is automatically generated by the notes

Any suggestion why this happend.