fixed up some loading issues of orientdb and edge query