sanitize paramcheck()