optimize startup speed.