update to the newest spec, sha256 and network removed
edge case bugfix