fixed bugs in rendering adjacency matrix