fixed edgelist bug