error management finished