Configuration reading fixed.