Possible fix for some attachments not working