fix Wait for the Application load