Fixing hash type