fixed facebook multiple attachments and prevent bug on other services