class sha1 fix