fix variable declaration typo
typo error