add minimatch, fixed #8