fix the params issue