Fix typos in configurtion refactor