Fixed my writing/reading problem.