Fix writing. Derp.