Fix incorrectly called variable