fixed app_id and app_code