core $config bugfix