Don't save useless data.
Also fixed a random variable name.