fixed missing entries in adjacency lists