Fixed bug with the media url patterning