Fix variable name typo

Fix variable name typo and the tabs+spaces mix