fixed typo
Removed unused variable