Fixed configuration reading issue