fix mimetype rrror