Fixed small bug in Config class