fix config init errors