Fixed app id bug