fix date hash