search by mime-type fix