Fixed critical config bug