Referring to https://github.com/esotalk/Attachments/issues/5

Its a simple hack but it does the job for me. Would you be comfortable with this?