fixed configuration bug.