Fix  issue #11

https://github.com/drpentode/Attachment-on-the-Fly/issues/11