it was crazy hard, but now it works
fix attachments add and delete
Merge pull request #33 from Klockz/fix-AddAttachment

it was crazy hard, but now it works