adapted to use the new error manager + reduced to a minimum the calls to error manager of info type