Hash calc fix