Fix order for startup events.