fix for orientdb 2.0-m2