fix parameter types

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
Merge pull request #1316 from D-storm/scrutinizer

fix parameter types