Fix prelaunch bugs.