fixed minimatch call error