sanitize and pass params