Fixed unbound var error.