fix saving of filled but not persisted model #944 #948