fix params types
Merge pull request #2916 from xboston/patch-5

fix params types