fix management of all errors messages