no more crash when attachment has no name
some fix
Merge pull request #13 from Papiel/fake-attachments

no more crash when attachment has no name