little improvements (media->getURL)