Revised global exception handler, equal-bugfix in models