correct variable reference in bootstrap