fix the return value in hashtable.c:29