fix calculating shasum