note that restore_bytes is never used