fixed hash.c