fixed bug from last commit for indexing out of bounds in config parsing