fix writing file