Fixing issues of media types