mimetype warning fix