fix on saving/loading relations