Correct the config handler

Sorry for taking so long to redo this PR.