Fixed error if config section is empty
Fixed exception message