relations saving bug