mime-type bug fixed