minor: changing hash generation