Attachments Fix

Hi Jason,

this fixes the broken file attachment issue