fix initial startup error.