Fix matrix load error