add level to error