Fix unused variable reference