fixed incorrect var name