fix to config ref