fix infix patterns