Fix: config undefined