Fix small error with unused variable