Updating variable to match correct ones.