Fix startup sequence.