add MatchSpec to resolve module