work on normalize digest