#fix saving the object with of not existing parent