trying to fix minimatch error