Fixed an unused variable