Fix configuration bug