Fix sha1 issue