fix patch to not expose config setting as a regexp