Fix (n/m) pattern.