change guid to app_id