fixed the infix operators in Factory