Fixed unbound variable