Revert "fix saving with generated parent fields"

This reverts commit 31b4218a156e0c1d7b2f8986db0285de83cd5582.
fix the saving of schemes, deal with the generated parent fields