fixed warning

fixed warning in isInfixFn