Fixed API params issue