fixed persistent params issue