Fixed a typo and unused variable