fix minor error in chtbl.c