wait until the build is done to initialize the UIController