better type handling for bool/double params

No match.