fix configuration bug