fixed saving of Profile w/ associated classes