Fixed the booting error. Fixed the exit error in some apps.