Fixed issue regarding media manager.