fixed the media type regex