Change handle of error in root of document
Remove useless exception
Aftereffect of last commits