fix an issue with shared file