Fixed attachments content_type inserting