fix problems with n-ary graphic relations, bootstrapping of AVM