fixed up config fetch