Correct reference variable