fixed mime type bug