please adapt the sha1, too.