compile/logic fix for sha256