minor fix for params comparison