initial version
fix mimetype args