Fixed some bugs in BaseApp