Params sanity checks