fix hash for logging - this time for real