fixed ambito for exceptions