figured out that accessing a null controller.curAppID was the issue; potential fix for this issue