Added an Exception on AppGlobal.cs because of a bug that I can't fix