fix up fair.c