fix infinite function nesting loop on cross-association save