restores the conversion logic in PersistencePhase