fix for hash