only works without foreign keys set in nodelink