fix incorrect var