fix fileManager