fixing relation aftersave