fix ReadFrom