fix config issues