Fix validation
Write and flush. Write AND FLUSH. FLUSH.