correct typo
remove unused variable