make sure all relationships are initialized