fixed bug with first saving the navigation property