fix result var typo