fix program
try to fix hash usage