fixed Configuration.cs bugs