fix pfrelations stuff