Fix var

Prior to this commit we had cut and paste to much