Fix Bag read matrix