fix compiler warning (unused variable)