fix patterns sha