fix where.c int bug