fix for sharing files