FIX config undefined