fix NodeModel.EnableEditFlag call