Fixing config problems