fix application_id undefined problem