mimetype deprecation fix