removed usage of slow Config::getConfig() method