Correct non-existent variable from cut and paste