add errors management