fixing incorrect var name