Typo
Fix undefined variable
Remove semicolon