manage error levels