Correct the write-out variable name