fixed pattern coverage (close #26)