recreating mediatype, fixing detail view