Fix media types issue