updated for Neo4j 1.8