fixing sha1 hash