fixed a config reference problem