fix WOC fp with ternaries and fields