repair bug of startup failure