fix the bug set app_id