fix: double media entries, spaces in links