added sanity-check-params