repaired neo4j.py