fix log & update hash