fix: warn/crit param check