fixed unpersisted rels and invalid date persistence