You set it to nothing before writing to it.