Fix reference for var