fix sha1 problem