Fixed config parsing.