fix some configuration issues