fixing params issue