Fix unbound variable