bug fixing for Core::getLibrary()