Fixed bug with refactoring of _getUrls