fix up sha1 check error