swap params for persistence