remove nfdata instance for matrix