fix: block pattern match