warn on invalid params, but do not mutate params