fixed bug in parse_all.py