fix some conf issues