fixed up var name error