fixed unbound variable export