fix a crash problem when MIMETYPE is unknown