fix hash_function bug
remove debug message