clean up rels mechanism, get parvan mostly working again