allow default values for sanitizer

Adds default values, which work when no argument is passed. Discussed with @michalbugno