fix typo in passing mimetype