bug fixing edanode.py