fix var name on persist method