Fixed issue with content type for media