Fix variable name typo

Also fix the messy tabs+spaces mix