fix hash_date