fix some configuration