fix config problems