fixed NucMatrix path issues