solved minimatch relative path issue