fixing auxGetSha method