fixed permission matrix because of new api mime type