Fix write mistake.