fix subscription, print out attachments on server