Fix the bug in `showDirectInfoMatrix`.