fix of file types and media types