fix issue with persistent parameters