fixed unscoped variable typo