fixed configuration bugs