fix getting SHA1

TODO : get the short version