fix adding parameters to sanitizer, related to #380