fixed app id bug